package com.hxf.common;

/**
 * 返回错误码
 * @author Administrator
 *
 */
public class Definition {
	
	/**
	 * 参数错误
	 */
	public static final int PARAMER_ERROR = 10002;
	public static final String PARAMER_DESCRIPTION = "paramer error";
	
	/**
	 * 处理成功
	 */
	public static final int SUCCESS_CODE = 10000; 
	public static final String SUCCESS_DESCRIPTION = "SUCCESS";
	
	/**
	 * 未知错误
	 */
	public static final int NUKNOW_ERROR = 19999;
	public final static String NUKNOW_DESCRIPTION = "nuknow error";
	
	/**
	 * 登录用户名不存在
	 */
	public static final int USERNAME_ERROR = 10003;
	public final static String USERNAME_DESCRIPTION = "username error";
	
	/**
	 * 密码错误
	 */
	public static final int PASSWORD_ERROR = 10004;
	public final static String PASSWORD_DESCRIPTION = "password error";
	
	/**
	 * 注册用户名已存在
	 */
	public static final int REG_USERNAME_ERROR = 10005;
	public final static String REG_USERNAME_DESCRIPTION = "password error";
	
}
